package com.app.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lm_person_check")
@JsonInclude(JsonInclude.Include.NON_NULL)

public class PersonCheckModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer personId;//人员ID 对应person表
    private Integer year;//年度
    private Integer checkResult;// 等次ID,category表
    private Timestamp createTime;
    private Timestamp updateTime;
    @TableField(exist = false)
    private String checkResultText;//2022优秀

    @TableField(exist = false)
    private List<String> checkDesc;//2022优秀
}
